﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.PageModule.ModuleConfig
{
    public class AdvertPlaceConfig
    {
        /// <summary>
        /// 广告位ID
        /// </summary>
        [NumValidate("shop.advert.place.id.error", 1)]
        public long PlaceId { get; set; }

        /// <summary>
        /// 广告位名
        /// </summary>
        [NullValidate("shop.advert.place.title.null")]
        [LenValidate("shop.advert.place.title.len", 1, 50)]
        public string PlaceTitle { get; set; }
    }
}
